using Domain.Base;
using DtoFw.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Domain.Entity {

    [SugarTable("case_physical_evidence_transfere")]
    [DB(EnumDatabase.Mysql, Cache = false)]
	public partial class CasePhysicalEvidenceTransfereEntity : BaseEntity 
	{
		[SugarColumn(ColumnName = "ApproveId")]
		public long? ApproveId { get; set; }

		/// <summary>
		/// 审核中  枚举 0 与1  当具备审核时，审核完成后，才能改变物品状态）
		/// </summary>
		[SugarColumn(ColumnName = "ApproveStatus")]
		public int? ApproveStatus { get; set; }

		/// <summary>
		/// 流转类别字典ID
		/// </summary>
		[SugarColumn(ColumnName = "DeliveryDicType")]
		public long? DeliveryDicType { get; set; }

		/// <summary>
		/// 中文 (登记 入库 销毁 回库 送检  更换位置 等）
		/// </summary>
		[SugarColumn(ColumnName = "DeliveryDicTypeName")]
		public string DeliveryDicTypeName { get; set; } = string.Empty;

		/// <summary>
		/// 交接单号
		/// </summary>
		[SugarColumn(ColumnName = "DeliveryNo")]
		public string DeliveryNo { get; set; } = string.Empty;

		/// <summary>
		/// 流转时间
		/// </summary>
		[SugarColumn(ColumnName = "DeliveryTime")]
		public DateTime? DeliveryTime { get; set; }

		[SugarColumn(ColumnName = "EvidenceId")]
		public long EvidenceId { get; set; }

		/// <summary>
		/// 物品数量
		/// </summary>
		[SugarColumn(ColumnName = "EvidenceQuantity")]
		public int? EvidenceQuantity { get; set; }

		/// <summary>
		/// 物品状态（已登记0、已入库1、已出库2
		/// </summary>
		[SugarColumn(ColumnName = "EvidenceStatus")]
		public int? EvidenceStatus { get; set; }

		/// <summary>
		/// 1：历史物品，0：现有物品
		/// </summary>
		[SugarColumn(ColumnName = "HistoryStatus")]
		public int? HistoryStatus { get; set; }


		[SugarColumn(ColumnName = "Location")]
		public string Location { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "LocationId")]
		public long? LocationId { get; set; }
		/// <summary>
		/// 开柜状态
		/// </summary>
		[SugarColumn(ColumnName = "LocationStatus")]
		public int? LocationStatus { get; set; }
		/// <summary>
		/// 存放时间
		/// </summary>
		[SugarColumn(ColumnName = "LocationTime")]
		public DateTime? LocationTime { get; set; }
		/// <summary>
		/// 经办人
		/// </summary>
		[SugarColumn(ColumnName = "Operator")]
		public string Operator { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "OperatorOrgan")]
		public string OperatorOrgan { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "OperatorOrganNo")]
		public string OperatorOrganNo { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "OperatorPhone")]
		public string OperatorPhone { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "OperatorSignId")]
		public long? OperatorSignId { get; set; }
		/// <summary>
		/// 接收人
		/// </summary>
		[SugarColumn(ColumnName = "Receiver")]
		public string Receiver { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "ReceiverOrgan")]
		public string ReceiverOrgan { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "ReceiverOrganNo")]
		public string ReceiverOrganNo { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "ReceiverPhone")]
		public string ReceiverPhone { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "ReceiverSignId")]
		public long? ReceiverSignId { get; set; }
		/// <summary>
		/// 保存期限/回库时间
		/// </summary>
		[SugarColumn(ColumnName = "ReturnTime")]
		public DateTime? ReturnTime { get; set; }
		/// <summary>
		/// 移交人
		/// </summary>
		[SugarColumn(ColumnName = "Transferor")]
		public string Transferor { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "TransferorOrgan")]
		public string TransferorOrgan { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "TransferorOrganNo")]
		public string TransferorOrganNo { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "TransferorPhone")]
		public string TransferorPhone { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "TransferorSignId")]
		public long? TransferorSignId { get; set; }

		[SugarColumn(ColumnName = "LocationName")]
		public string LocationName { get; set; } 
		/// <summary>
		/// 单位ID
		/// </summary>、
		[SugarColumn(ColumnName = "OrganId")]
		public System.Int64 OrganId { get; set; }

		/// <summary>
		/// 单位名称
		/// </summary>、
		[SugarColumn(ColumnName = "OrganName")]
		public string OrganName { get; set; }

		/// <summary>
		/// 录入人所在机构
		/// </summary>
		[SugarColumn(ColumnName = "DeptId")]
		public System.Int64? DeptId { get; set; }

		/// <summary>
		/// 录入人
		/// </summary>
		[SugarColumn(ColumnName = "UserId")]
		public System.Int64? UserId { get; set; }

		/// <summary>
		/// 录入人区划代码
		/// </summary>
		[SugarColumn(ColumnName = "ComNo")]
		public System.String ComNo { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		[SugarColumn(ColumnName = "Remark")]
		public System.String Remark { get; set; }
		/// <summary>
		/// 处理意见
		/// </summary>
		public System.String DisposalOpinions { get; set; }
		
	}
}
